package com.example.demo.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Mark.xu
 * @create 2021-01-19 17:28
 */
@RestController
public class AppOneContro {
    private static final Logger LOG = LoggerFactory.getLogger(AppOneContro.class) ;

    @GetMapping("/getInfo")
    public Map<String,String> getInfo (){
        LOG.info("AppOneContro-9527 提供服务");
        Map<String,String> infoMap = new HashMap<>() ;
        infoMap.put("作者：","一笑而过") ;
        infoMap.put("时间：","2020-05-18") ;
        infoMap.put("主题：","SpringCloud微服务框架") ;
        return infoMap ;
    }
}
